/******************************************************************************
 *  _____     _____
 *  \  __\    \  __\
 *   \ \_\\    \ \_\\
 *    \  __\SS  \  __\roject
 *     \_\       \_\
 *
 * Mateusz Maciąg, Rafał Urbański
 * Komputerowe Systemy Sterowania
 *****************************************************************************/

#include "SimulatorManager.h"

#include "SimEngine/SimulatorEngine.h"

// Przestrzeń nazw
namespace RafMat
{
namespace SimInterface
{

ISimulatorSPtr SimulatorManager::m_simInstance;

ISimulatorSPtr SimulatorManager::getSimulator()
{
    if(!m_simInstance.get())
        m_simInstance.reset(new SimEngine::SimulatorEngine());

    return m_simInstance;
}


}   // SimInterface namespace
}   // RafMat namespace

